package com.lpit.controller;

import com.lpit.pojo.Message;
import com.lpit.result.ResponseResult;

import java.util.List;

public interface PrivateMessageControllerApi {
    /**
     * 查看私信
     */
    public ResponseResult<List<Message>> view (Message message);
    /**
     * 删除私信
     */
    public ResponseResult<Integer> delete(Integer id);

    /**
     * 回复私信
     */
    public ResponseResult<List<Message>> insert(Message message);
}
